package com.sunshine.ssm.test.spring.circle;

/**
 * @Description: 循环依赖
 * @author: Hong.Wei
 * @Date: 2016/12/29 9:41
 */
public class CircleA {

    private CircleB circleB;

    public CircleA(){

    }

    public CircleA(CircleB circleB){
        this.circleB = circleB;
    }

    public void setCircleB(CircleB circleB) {
        this.circleB = circleB;
    }

    public void a(){
        circleB.b();
    }
}
